Skip to content

Implement algorithmic generation of Docker image names given a programming language name.#3

Merged
allenwq merged 1 commit into
Coursemology:masterfrom
lowjoel:generate-docker-image-names
Jan 16, 2016
Merged

Implement algorithmic generation of Docker image names given a programming language name.#3
allenwq merged 1 commit into
Coursemology:masterfrom
lowjoel:generate-docker-image-names

Conversation

@lowjoel
Copy link
Copy Markdown
Member

@lowjoel lowjoel commented Jan 16, 2016

This is needed to map a language to a suitable Docker image to use to run programs in that language.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inconsistent indentation detected.

@lowjoel lowjoel force-pushed the generate-docker-image-names branch from 5ccf6c0 to f912122 Compare January 16, 2016 06:49
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very hard to understand le, can we just sub ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's actually a substring... hmm, sub would look like:

class_name.sub!(/^Coursemology::Polyglot::Language::/, '')

if that's better I'll change it?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be more clear ? Until I tested in the console, then I realised 34 is the length of the string..

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks !

@lowjoel lowjoel force-pushed the generate-docker-image-names branch from f912122 to 85a9efc Compare January 16, 2016 07:35
…mming language name.

This is needed to map a language to a suitable Docker image to use to run programs in that language.
@lowjoel lowjoel force-pushed the generate-docker-image-names branch from 85a9efc to a6ca208 Compare January 16, 2016 07:37
@lowjoel
Copy link
Copy Markdown
Member Author

lowjoel commented Jan 16, 2016

@allenwq done, thanks!

allenwq pushed a commit that referenced this pull request Jan 16, 2016
Implement algorithmic generation of Docker image names given a programming language name.
@allenwq allenwq merged commit 97a2848 into Coursemology:master Jan 16, 2016
@lowjoel lowjoel deleted the generate-docker-image-names branch January 16, 2016 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants